
//  Copyright (C) 2007 Richard Uhler

//?d:Can we call a call?
//?e:foobar

print("foo");
foo().write("bar");

function foo()
{
    var bar = new Object();
    bar.write = print;
    return bar;
}

